package com.bi.web;

import com.bi.service.RequestService;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;

import javax.annotation.Resource;

/**
 * description:
 * author: w
 * date: Created in 2019/11/22 9:57
 * version: 1.0
 */
@Controller
public class ViewController {
    @Resource
    private RequestService service;

    @GetMapping("/zxd")
    public String z(){
        service.joinIp();
        return "b2";
    }

    @GetMapping("/")
    public String z1(){
        service.joinIp();
        return "b2";
    }
}
